﻿using System;
using System.Collections.Generic;
using System.Text;

namespace QuanLyThuVien.DTO
{
    class SachMatDTO
    {
        private SachDTO maSachMat;

        public SachDTO MaSachMat
        {
            get { return maSachMat; }
            set { maSachMat = value; }
        }

        private DateTime ngayGhiNhanMatSach;

        public DateTime NgayGhiNhanMatSach
        {
            get { return ngayGhiNhanMatSach; }
            set { ngayGhiNhanMatSach = value; }
        }

        private Double tienPhatMatSach;

        public Double TienPhatMatSach
        {
            get { return tienPhatMatSach; }
            set { tienPhatMatSach = value; }
        }

        private NhanVienDTO nhanVien;

        internal NhanVienDTO NhanVien
        {
            get { return nhanVien; }
            set { nhanVien = value; }
        }

        private DocGiaDTO docGia;

        internal DocGiaDTO DocGia
        {
            get { return docGia; }
            set { docGia = value; }
        }

        public SachMatDTO()
        {
            this.MaSachMat = null;
            this.NgayGhiNhanMatSach = DateTime.Today;
            this.TienPhatMatSach = 0;
            this.NhanVien = null;
            this.DocGia = null;
        }
    }
}
